package test.dubbo;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Client {
	
	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext-dubbo-consumer.xml");
		HelloService service = (HelloService)context.getBean("helloService");
		service.hello();
	}

}
